#import "ManagingViewController.h"

@implementation ManagingViewController

@synthesize managedObjectContext = managedObjectContext_;

- (id)initWithNibName:(NSString *)name bundle:(NSBundle *)bundle windowController:(XSWindowController *)windowController managedObjectContext:(NSManagedObjectContext *)managedObjectContext {
    if (![super initWithNibName:name bundle:bundle windowController:windowController])
        return nil;
    [self setManagedObjectContext:managedObjectContext];
    return self;
}

- (id)initWithNibName:(NSString *)name bundle:(NSBundle *)bundle windowController:(XSWindowController *)windowController {
    [NSException raise:@"ManagingViewController exception" format:@"An instance of a ManagingViewController concrete subclass was initialized using the XSViewController method -initWithNibName:bundle:windowController:"];
	return nil;
}

@end
